﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="ChangePassword.aspx.vb"
    Inherits="Arwani.Backend_ChangePassword" %>
    <%@ Register src="Menu.ascx" tagname="Menu" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title> Arwani Backend Panel</title>
    <link href="../css/admin/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
     <table border="0" cellpadding="3" cellspacing="3" width="100%">
            <tr>
                <td align="center">
                    
                    
                    <uc1:Menu ID="Menu1" runat="server" />
                    
                    
                </td>
            </tr>
          <tr>
          <td>
    <div class="ChangePassword-form">
    
        <table border="0" align="center" cellpadding="3" cellspacing="3">
            <tr>
                <td style="width: 140px;">
                    <span id="Span2">&nbsp;</span>
                </td>
                <td style="width: 200px;">
                    <asp:Label ID="lblError" runat="server" ></asp:Label>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server" Text="Old Password"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtPasswordOld" runat="server" class="form-control" TextMode="Password"
                        Width="200px"></asp:TextBox>
                </td>
                <td>
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Please enter Old Password"
                                        ControlToValidate="txtPasswordOld" ValidationGroup="a" Display="Dynamic"
                                        ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label2" runat="server" Text="New Password"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtPasswordNew" runat="server" class="form-control" TextMode="Password"
                        Width="200px"></asp:TextBox>
                </td>
                <td>
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please enter New Password"
                                        ControlToValidate="txtPasswordNew" ValidationGroup="a" Display="Dynamic"
                                        ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label3" runat="server" Text="Confirm Password"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtPasswordConfirm" runat="server" class="form-control" TextMode="Password"
                        Width="200px"></asp:TextBox>
                </td>
                <td>
                     <asp:CompareValidator id="comparePasswords" 
              runat="server"
              ControlToCompare="txtPasswordNew"
              ControlToValidate="txtPasswordConfirm"
              ErrorMessage="Passwords do not match"
              Display="Dynamic" ValidationGroup="a" ForeColor="Red" />
                </td>
            </tr>
            <tr>
                <td>
                    <span id="Span1">&nbsp;</span>
                </td>
                <td>
                    <asp:Button runat="server" ID="btnLogin" class="btn" ValidationGroup="a" Text="Login" />
                </td>
            </tr>
        </table>
       
    </div>
     </td>
        </tr>
        </table>
    </form>
</body>
</html>
